package com.chlp.core.framework.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**   
 * Copyright: Copyright (c) 2019 
 * 
 * <p>说明： 实体类</P>
 * project NIO_CQA
 * filename: Student
 * createTime: 2020年08月13日
 * version: V1.0
 * @author : LiPeng.Chen
 * 
 * Modification History:
 * Date         	Author          Version          Description
 *---------------------------------------------------------------*
 * 2020年08月13日      LiPeng.Chen    V1.0           initialize
 */
@ApiModel(value="实体类")
@Table(name = "student")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Student  {

	
    @Id
    @Column(name = "student_id")
	@ApiModelProperty(name = "studentId" , value = "学生表主键")
	private Integer studentId;

    @Column(name = "teacher_id")
	@ApiModelProperty(name = "teacherId" , value = "老师表主键")
	private Integer teacherId;

    @Column(name = "name")
	@ApiModelProperty(name = "name" , value = "姓名")
	private String name;

    @Column(name = "sex")
	@ApiModelProperty(name = "sex" , value = "性别")
	private String sex;

    @Column(name = "e_mail")
	@ApiModelProperty(name = "eMail" , value = "邮件")
	private String eMail;

    @Column(name = "address")
	@ApiModelProperty(name = "address" , value = "地址")
	private String address;


    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }
    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getEMail() {
        return eMail;
    }

    public void setEMail(String eMail) {
        this.eMail = eMail;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
